package com.doit.day01;

import java.util.ArrayList;
import java.util.HashMap;

public class Test {
    public static void main(String[] args) {
        HashMap<String, HashMap<String, String>> map = new HashMap<>();
        HashMap<String, String> map1 = new HashMap<>();
        map1.put("name","zss");
        map1.put("age","18");
        map1.put("gender","male");

        map.put("name",map1);

        HashMap<String, String> name = map.get("name");
        String value1 = name.get("name");
        String value2 = name.get("age");
        String value3 = name.get("gender");
        System.out.println(value1);
        System.out.println(value2);
        System.out.println(value3);

    }
}
